import Cookies from 'js-cookie'

const TOKEN_KEY = 'hrsass_xm_@@@@_2'

// 取
export const getToken = () => Cookies.get(TOKEN_KEY)
// 存
export const setToken = (token) => Cookies.set(TOKEN_KEY, token)
// 删
export const removeToken = () => Cookies.remove(TOKEN_KEY)
